projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3db6ace
)
* test/src/comp-test-funcs.el (comp-tests-aref-aset-f) : Fix UB.
author
Andrea Corallo
<akrl@sdf.org>
Sun, 5 Jul 2020 18:45:10 +0000
(19:45 +0100)
committer
Andrea Corallo
<akrl@sdf.org>
Thu, 9 Jul 2020 15:22:48 +0000
(16:22 +0100)
test/src/comp-test-funcs.el
patch
|
blob
|
history
diff --git
a/test/src/comp-test-funcs.el
b/test/src/comp-test-funcs.el
index 168819b17d67a368af3d37506049e492533dd75b..2fe6276227a269f3baa959455a93bb0e72b77dcf 100644
(file)
--- a/
test/src/comp-test-funcs.el
+++ b/
test/src/comp-test-funcs.el
@@
-66,7
+66,7
@@
(length '(1 2 3)))
(defun comp-tests-aref-aset-f ()
- (let ((vec
[1 2 3]
))
+ (let ((vec
(make-vector 3 0)
))
(aset vec 2 100)
(aref vec 2)))